package cn.gson.crmdemo.model.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.alibaba.fastjson.JSONArray;

import cn.gson.crmdemo.model.dao.SalesOpportunityDao;
import cn.gson.crmdemo.model.mapper.SalesOpportunityMapper;

@Service
@Transactional(rollbackFor=Exception.class)
public class SalesOpportunityService {
	@Autowired
	SalesOpportunityMapper se;
	@Autowired
	SalesOpportunityDao sao;
	/**
	 * 查询销售机会
	 * @return
	 */
	public JSONArray selectcx() {
		return se.selectcx();
	}
}
